﻿using System.ComponentModel.DataAnnotations;

namespace Hospital.API.Dto
{
    public class DoctorDto
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime RegistrationTime { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 医院
        /// </summary>
        public string? Hospital { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public string? Department { get; set; }

        /// <summary>
        /// 职称
        /// </summary>
        public string? Title { get; set; }

        /// <summary>
        /// 银行卡号
        /// </summary>
        public string? BankCardNumber { get; set; }

        /// <summary>
        /// 特长
        /// </summary>
        public string? Specialty { get; set; }

        /// <summary>
        /// 简介
        /// </summary>
        public string? Introduction { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public string? AuditStatus { get; set; }

        /// <summary>
        /// 服务审核
        /// </summary>
        public string? ServiceAudit { get; set; }

        /// <summary>
        /// 证书
        /// </summary>
        public string? Certificates { get; set; }

        /// <summary>
        /// 证件照
        /// </summary>
        public string? Photo { get; set; }

        /// <summary>
        /// 粉丝数
        /// </summary>
        public string? FanCount { get; set; }
    }

    /// <summary>
    /// 医生查询DTO
    /// </summary>
    public class DoctorQuerysDto
    {
        /// <summary>
        /// 医生姓名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public string? Department { get; set; }

        /// <summary>
        /// 职称
        /// </summary>
        public string? Title { get; set; }

        /// <summary>
        /// 当前页数
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 10;
    }

    /// <summary>
    /// 更新医生审核状态DTO
    /// </summary>
    public class UpdateDoctorAuditStatusDto
    {
        /// <summary>
        /// 医生ID
        /// </summary>
        public int DoctorId { get; set; }

        /// <summary>
        /// 审核状态：待审核、审核通过、审核不通过
        /// </summary>
        public string AuditStatus { get; set; } = string.Empty;

        /// <summary>
        /// 审核备注
        /// </summary>
        public string? Remarks { get; set; }
    }
}
